package com.atguigu.spzx.feign.user.fallback;

import com.atguigu.spzx.feign.user.UserFeignClient;
import com.atguigu.spzx.model.entity.order.UserAddress;
import com.atguigu.spzx.model.vo.common.Result;
import lombok.extern.slf4j.Slf4j;

/**
 * @author LT
 * @create 2024-03-30-16:47
 */
@Slf4j
public class UserFeignClientFallback implements UserFeignClient {
    @Override
    public Result<UserAddress> getUserAddress(Long id) {

        log.info("UserFeignClientFallback...getUserAddress的方法执行失败了");
        return Result.ok();
    }
}
